package com.logwire.domain;import com.baomidou.mybatisplus.annotation.IdType;import com.baomidou.mybatisplus.annotation.TableField;import com.baomidou.mybatisplus.annotation.TableId;import com.fasterxml.jackson.annotation.JsonFormat;import io.swagger.v3.oas.annotations.media.Schema;import lombok.Data;import java.util.Date;/** * @author yhou * @ProjectName server * @description * @date 2022/12/01 3:21 PM */@Datapublic abstract class BaseDomain {	/**	 * 创建时间	 */	@Schema(description = "创建时间")	@TableField(value = "gmt_create")	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")	private Date gmtCreate;	/**	 * 创建人	 */	@Schema(description = "创建人")	@TableField(value = "create_by")	private String createBy;	/**	 * 主键id	 */	@Schema(description = "主键id")	@TableId(value = "id", type = IdType.AUTO)	private Long id;	/**	 * 设置默认值	 */	public abstract void setDefaultValue();}